package com.cslg.ac.demo.entity.chat;

public class Chat {

	private int id;
	private int fromId;
	private int toId;
	private String createTime;
	private String content;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getFromId() {
		return fromId;
	}
	public void setFromId(int fromId) {
		this.fromId = fromId;
	}
	public int getToId() {
		return toId;
	}
	public void setToId(int toId) {
		this.toId = toId;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Override
	public String toString() {
		return "Chat [id=" + id + ", fromId=" + fromId + ", toId=" + toId + ", createTime=" + createTime + ", content="
				+ content + "]";
	}
	
}
